import request from '@/utils/request'

// 查询设备台账列表
export function listTbEquipmentParameter(query) {
  return request({
    url: '/tbequipmentp',
    method: 'get',
    params: query
  })
}

// 查询设备台账详细
export function getTbEquipmentParameter(epId) {
  return request({
    url: '/assets/TbEquipmentParameter/' + epId,
    method: 'get'
  })
}

// 新增设备台账
export function addTbEquipmentParameter(data) {
  return request({
    url: '/assets/TbEquipmentParameter',
    method: 'post',
    data: data
  })
}

// 修改设备台账
export function updateTbEquipmentParameter(data) {
  return request({
    url: '/assets/TbEquipmentParameter',
    method: 'put',
    data: data
  })
}

// 删除设备台账
export function delTbEquipmentParameter(epId) {
  return request({
    url: '/assets/TbEquipmentParameter/' + epId,
    method: 'delete'
  })
}
